@echo off  
:a
title Short Url
cls
cmd /C node app.js
if errorlevel 5 goto a
pause
goto a